﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Linq;
using System.Data.Linq.Mapping;
using System.ComponentModel;
using System.Collections.ObjectModel;
namespace MyChannel.LinqSupport
{
    [Table]
    public class DataFavorite
    {
        [Column(Name = "ID", IsPrimaryKey = true, CanBeNull = false)]
        public string ID
        {
            get;
            set;
        }
        // 0 la video - 1 la category
        [Column(Name = "style", CanBeNull = false)]
        public String style
        {
            get;
            set;
        }
        [Column(Name = "name",CanBeNull = false)]
        public String name
        {
            get;
            set;
        }
        [Column(Name = "type", CanBeNull = false)]
        public String type
        {
            get;
            set;
        }
        [Column(Name = "link",CanBeNull = false)]
        public String link
        {
            get;
            set;
        }
        [Column(Name = "image", CanBeNull = false)]
        public String image
        {
            get;
            set;
        }
        [Column(Name = "action", CanBeNull = false)]
        public String action
        {
            get;
            set;
        }
        // 1 la co hinh - 0 la ko co hinh
        [Column(Name = "imagevideo", CanBeNull = false)]
        public string imagevideo
        {
            get;
            set;
        }
    }
}
